//! @Author: DengLibin 
//! @Date:  2022-04-20 19:29:54
//! @Description: 系统相关
//!
//!


/// @Author: DengLibin 
/// @Date:  2022-04-20 19:31:02
/// @Description: 初始化
pub fn init() {
    init_log();
}

fn init_log() {
    std::env::set_var("RUST_LOG", "actix_web=info");
    env_logger::builder()
        .filter_level(log::LevelFilter::Trace)
        .init();
    info!("初始化日志完成")
}
